package org.csu.myblogger.myblogger.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import org.w3c.dom.Text;

import java.sql.Date;

@Getter
@Data
@TableName("article")
public class Article {
    @TableId(value = "article_id",type = IdType.INPUT)
    private int article_id;
    private String article_title;
    private Text article_content;
    private String article_author;
    private Date article_create_date;
    private String article_class;
    private int article_likes;
    private int article_stare;
    private int article_vist_number;
    private String article_img;
}
